home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
8206
/
8206.xpi
/
content
/
options.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-02-02
|
18KB
|
363 lines
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://wisestamp/skin/options.css" type="text/css"?>
<?xml-stylesheet href="chrome://wisestamp-platform/content/options-thunderbird.css" type="text/css"?>
<?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?>
<?xul-overlay href="chrome://wisestamp/content/editorOverlay.xul"?>
<!DOCTYPE prefwindow SYSTEM "chrome://wisestamp/locale/prefwindow.dtd">
<prefwindow
id="BrowserPreferences"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xhtml="http://www.w3.org/TR/xhtml1/strict"
title="&prefwindow.title;" type="wisestamp:settings" spacerflex="0"
buttons="accept,cancel,extra1,extra2"
buttonlabelextra1="&signature.apply;"
buttonlabelextra2="&signature.preview;"
ondialogaccept="return WiseStampOptions.onOK();"
ondialogcancel="return WiseStampOptions.onClose();"
ondialogextra1="return WiseStampOptions.onOK();"
ondialogextra2="WiseStampOptions.previewSignature()"
lastSelected="paneMain"
>
<prefpane id="paneMain" label="&general.title;" onpaneload="WiseStampOptions.onLoad(event)">
<popupset id="optionsPopupset" />
<preferences>
<preference id="temppref" name="extensions.wisestamp.temp" type="string" />
</preferences>
<vbox style="padding-left: 0px; padding-right: 0px;">
<hbox>
<hbox align="center">
<label value="&type.caption;" />
<menulist width="200" oncommand="WiseStampOptions.setCurrentSignature(event.target.value, true);">
<menupopup id="signature_types_popup">
<menuseparator id="signature_types_separater"/>
<menuitem id="signature_types_create" label="&signature.create.caption;" oncommand="WiseStampOptions.createNewSigFromMenu(event)"/>
<menuitem id="signature_types_premium" label="&signature.premium.caption;" oncommand="WiseStampOptions.showPremiumInfo(event)"/>
</menupopup>
</menulist>
<hbox>
<label id="setasdefault" value="&type.setdefault;" class="text-link" onclick="WiseStampOptions.setCurrentAsDefault();" />
<label id="isdefault" value="&type.default;" />
</hbox>
</hbox>
<spacer flex="1" />
<hbox id="top_header" pack="end" hidden="false">
<label id="about" class="text-link" value="&wisestamp.about;" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/about');" />
<spacer width="7px" />
<label id="help" class="text-link" value="&wisestamp.help;" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/usage-faq');" />
<spacer width="7px" />
</hbox>
</hbox>
<vbox>
<hbox>
<groupbox orient="horizontal">
<caption label="&details.add.caption;" />
<vbox flex="8">
<vbox mode="wysiwyg" id="editor-container" width="460">
<hbox id="editor-toolbar">
<vbox pack="center">
<deck id="editor-toolbar-deck">
<hbox id="editor-toolbar-container">
<vbox pack="center">
<hbox id="editor-toolbar-simple">
</hbox>
</vbox>
<spacer id="editor-toolbar-spacer" flex="1" />
</hbox>
<hbox id="editor-toolbar-replacement">
<button id="advanced-show" label="&advanced.show;" oncommand="WiseStampOptions.toggleAdvanced('advanced')" />
<hbox id="advanced-hide" hidden="true" align="center">
<button label="&advanced.hide;" oncommand="WiseStampOptions.toggleAdvanced('html')" />
</hbox>
</hbox>
</deck>
</vbox>
<separator class="thin" orient="vertical" width="1" />
<spacer flex="1" />
<button id="editor-toggle-html"
label="&showhtml;" oncommand="WiseStampOptions.toggleEditor(event)"
hidden="false" style="margin: 2px;"
tooltiptext="&editor.switchtohtml.tooltip;" />
<button id="editor-toggle-wysiwyg"
label="&showwysiwyg;" oncommand="WiseStampOptions.toggleEditor(event)"
hidden="true" style="margin: 2px;"
tooltiptext="&editor.switchtowysiwyg.tooltip;" />
</hbox>
<deck id="editor-deck" width="100">
<signaturebox id="signature-wysiwyg-cont" flex="1" height="120">
<editor id="signature-wysiwyg" src="chrome://wisestamp/content/blank.html" flex="1" style="background-color: white;"/>
</signaturebox>
<deck id="signature-html-deck">
<textbox multiline="true" id="signature-html" height="120" flex="1" />
<vbox>
<description>&advanced.description;
</description>
<textbox multiline="true" id="signature-advanced" height="120" flex="1" />
</vbox>
</deck>
</deck>
</vbox>
</vbox>
</groupbox>
<groupbox orient="horizontal" width="105">
<caption label="&details.example;" />
<vbox flex="1" align="center" pack="end" style="margin-bottom: 4px">
<image id="signature_example_frame" width="95" height="126" src="chrome://wisestamp/skin/stamp-examp.png"/>
<separator class="thin"/>
<label value="&details.seemoreexamples;" class="text-link" onclick="WiseStampUtils.openSite('http://wisestamp.com/goodies/category/signature-examples');"/>
</vbox>
</groupbox>
</hbox>
<tabbox style="margin: 5px 5px 0px 5px;">
<tabs>
<tab class="services" image="chrome://wisestamp/skin/social.png" label="&service.tab.social;" />
<tab class="services" image="chrome://wisestamp/skin/im.png" label="&service.tab.im;" />
<tab class="services" image="chrome://wisestamp/skin/rss.png" label="&service.tab.rss;" />
</tabs>
<tabpanels>
<tabpanel id="social_services">
<vbox flex="1" style="padding-right: 5px;">
<hbox>
<label value="&service.socialservices.label;" />
<spacer flex="1" />
<label id="addnewservice" value="&service.addmore;" class="text-link" onclick="WiseStampOptions.addNewService();" />
<spacer width="7px" />
<label id="socialformat_label" value="&service.format;" class="text-link" onclick="WiseStampOptions.onSocialFormatDlg();" />
</hbox>
<separator class='thin' />
<scrollbox id="socialservices-scroll" orient="vertical" style="overflow-y: scroll;" flex="1" height="125">
<vbox id="social-services" value="" flex="1" style="padding-right: 5px;">
</vbox>
</scrollbox>
</vbox>
</tabpanel>
<tabpanel id="im">
<vbox style="padding-right: 5px;">
<hbox align="right">
<label value="&service.IM;" />
<spacer flex="1" />
<label id="addnewim" value="&im.addmore;" class="text-link" onclick="WiseStampOptions.addNewIM();" />
<spacer width="7px" />
<label id="im_format_label" value="&im.format;" class="text-link" onclick="WiseStampOptions.onImFormatDlg();" />
</hbox>
<separator class='thin' />
<scrollbox id="imservices-scroll" orient="vertical" style="padding-right:15px; overflow-y: scroll;" flex="1" height="125">
<hbox align="center" style="padding-right: 5px;">
<hbox id="im-box" value="" style="display: block;" width="510" />
</hbox>
<spacer flex="1" />
</scrollbox>
</vbox>
</tabpanel>
<tabpanel id="rss">
<vbox flex="1">
<label value="&service.rss.label;" />
<separator class='thin' />
<hbox align="center">
<label value="Feed Title: " />
<textbox id="rss-title" value="" flex="1" />
</hbox>
<hbox align="center">
<label value="Feed URL: " />
<textbox id="rss-url" onchange="WiseStampOptions.validateRss('options')" emptytext="http://" flex="1" />
<label id="rss-valid" status="ready" value="validate" onclick="WiseStampOptions.validateRss('options')" />
</hbox>
<separator class='thin' />
<separator class='thin' />
<label class="text-link" value="&service.rss.learn;" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/get-more-feed-ideas');" />
</vbox>
</tabpanel>
</tabpanels>
</tabbox>
</vbox>
</vbox>
</prefpane>
<prefpane id="paneAdvanced" label="&settings.title;" onpaneload="WiseStampOptions.loadSettings()">
<hbox height="200">
<groupbox flex="1" width="240">
<caption label="&settings.general;" />
<checkbox id="autoinsert_compose" label="&settings.autoinsert_compose;" />
<checkbox id="autoinsert_thread" label="&settings.autoinsert_thread;" />
<separator class="thin" orient="vertical" width="1" />
<checkbox id="hidebuttons" label="&settings.hidebuttons;" />
<checkbox id="hidestatusbar" label="&settings.hidestatusbar;" />
</groupbox>
<groupbox flex="1" orient="horizontal">
<caption label="&settings.manage.caption;" />
<vbox flex="1">
<label id="createSignatureFromDlg" value="&settings.manage.new;" class="text-link" onclick="WiseStampOptions.createNewSigFromMenu(event)" />
<scrollbox flex="1" id="manage_sig_scroll" style="overflow-y: auto; overflow-x: hidden;" maxwidth="555" height="105">
<vbox id="manage_sig_box" maxwidth="540">
<hbox id="manage_new_container" align="center">
</hbox>
</vbox>
</scrollbox>
<label id="createSignaturePremium" value="&signature.premium.caption;" class="text-link" onclick="WiseStampOptions.showPremiumInfo(event)" />
</vbox>
</groupbox>
</hbox>
<separator class="thin" orient="vertical" width="1" />
<groupbox>
<caption label="&settings.format;" />
<hbox style="padding-bottom: 1em;">
<label value="&settings.format.moved;" />
<label value="&settings.format.moved.learn;" class="text-link" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/how-to/how-to-change-or-add-a-text-title-before-the-social-profiles-or-im-icons')"/>
</hbox>
</groupbox>
<separator class="thin" orient="vertical" width="1" />
<groupbox id="supportgroup" orient="horizontal">
<caption label="&settings.supportnpromote;" />
<vbox flex="1">
<checkbox label="&settings.promoteChk;" id="promoteChk" oncommand="WiseStampOptions.showHideHelpus()" />
<deck height="12" id="helpusDeck">
<box flex="1" />
<label value="&settings.help;" class="text-link" id="helpDonate" onclick="WiseStampUtils.openSite('https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=contact%40tagadam%2ecom&item_name=Support%20WIseStamp&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8');" style="margin-left: 20px" />
</deck>
<hbox>
<label value="&settings.helpus;" style="margin-right: 4px" onclick="WiseStampUtils.openSite('https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=contact%40tagadam%2ecom&item_name=Support%20WIseStamp&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8');"/>
<label value="&settings.spreadtheword;" class="text-link" id="spreadtheword" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/spread-the-word');" />
</hbox>
</vbox>
<vbox flex="1" align="center" pack="center">
<vbox align="center" pack="center">
<label value="&settings.support;" />
<image src="chrome://wisestamp/skin/paypal.png" id="donateButton" href="" class="text-link" onclick="WiseStampUtils.openSite('https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=contact%40tagadam%2ecom&item_name=Support%20WIseStamp&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8');" />
</vbox>
</vbox>
</groupbox>
</prefpane>
<prefpane id="paneSecurity" label="&account.title;" hidden="true">
<groupbox style='padding: 10px;'>
<caption label="&account.settings.title;" />
<hbox flex="1">
<label value="&account.purchase.label;" />
<label id="about" class="text-link" value="&account.purchase.link;" onclick="WiseStampUtils.openSite('http://wisestamp.freesto.com/users/premium');" />
</hbox>
<separator class="thin" orient="vertical" width="1" />
<separator class="thin" orient="vertical" width="1" />
<vbox flex="1">
<hbox align="center">
<label width="60" value="&account.settings.email.label;" />
<textbox width="250" id="email_edit" />
</hbox>
<hbox align="center">
<label width="60" value="&account.settings.password.label;" />
<textbox width="250" id="password_edit" type="password" />
</hbox>
<hbox align="center" style='font-size: 88%; color: #444444; margin: 0.2em 0 0.2em 0;'>
<label width="60" value="" />
<label value="&account.settings.forgot_password.label;" />
<label id="about" class="text-link" value="&account.settings.forgot_password.link;" onclick="WiseStampUtils.openSite('http://wisestamp.freesto.com/users/resetpassword');" />
<spacer flex="1" />
</hbox>
</vbox>
<separator class="thin" orient="vertical" width="1" />
<hbox>
<label width="60" value="" />
<button id="account_login" label="&account.settings.buttons.login;" oncommand="WiseStampOptions.onLogin()" />
<button id="account_logout" label="&account.settings.buttons.logout;" oncommand="WiseStampOptions.onLogout()" />
<spacer flex="1" />
</hbox>
</groupbox>
<separator class="thin" orient="vertical" width="1" />
</prefpane>
<prefpane id="paneApplications" label="&sync.title;" hidden="true">
<groupbox style='padding: 10px'>
<caption label="&account.sync.title;" />
<vbox>
<hbox align="start">
<button width="110" id="sync_load" label="Load signatures" oncommand="WiseStampOptions.onLoadSignatures()" />
<description flex="1" width="410" >&account.sync.buttons.load.desc;</description>
</hbox>
<separator class="thin" orient="vertical" width="1" />
<separator class="thin" orient="vertical" width="1" />
<hbox align="start">
<button width="110" id="sync_save" label="Save signatures" oncommand="WiseStampOptions.onSaveSignatures()" />
<label value="&account.sync.buttons.save.desc;" flex="1" />
</hbox>
</vbox>
</groupbox>
</prefpane>
<prefpane id="panePrivacy" label="&advanced.title;" hidden="true">
<groupbox style='padding: 10px;'>
<caption label="&advanced.settings.title;" />
<vbox>
<hbox>
<button label="&advanced.buttons.export;" oncommand="WiseStampOptions.onExportSettings()" />
<spacer flex="1" />
</hbox>
<separator class='thin' />
<hbox>
<button label="&advanced.buttons.import;" oncommand="WiseStampOptions.onImportSettings()" />
<spacer flex="1" />
</hbox>
<separator class='thin' />
<hbox>
<button label="&advanced.buttons.reset;" oncommand="WiseStampOptions.onResetSettings()" />
<spacer flex="1" />
</hbox>
</vbox>
</groupbox>
<separator class='thin' />
<groupbox style='padding: 10px;'>
<caption label="&advanced.logging.title;" />
<vbox>
<hbox>
<button label="&advanced.buttons.exportLog;" oncommand="WiseStampOptions.onExportLog()" />
<spacer flex="1" />
</hbox>
</vbox>
</groupbox>
<separator class='thin' />
<groupbox style='padding: 10px;' hidden="true">
<caption label="Testing" />
<vbox>
<hbox>
<button id='loadTestButton' label="Run load test..." oncommand="WiseStampOptions.onRunLoadTest()" />
<spacer flex="1" />
</hbox>
</vbox>
</groupbox>
</prefpane>
<prefpane id="paneContent" label="Premium" hidden="true">
</prefpane>
<prefpane id="paneSubmitBug" image='http://spreadsheets.google.com/favicon.ico' label="Submit bug" hidden="true">
<iframe type="content" flex="1" height="450px" src="http://spreadsheets.google.com/embeddedform?key=tAxhTHJuZpeP6mD6qn1y78A" frameborder="0" marginheight="0" marginwidth="10" />
</prefpane>
<hbox class="dlgbuttons" flex="1">
<button dlgtype="extra2" />
<spacer flex="1" />
<button dlgtype="extra1" />
<button dlgtype="accept" />
<button dlgtype="cancel" />
</hbox>
<script type="application/x-javascript" src="chrome://wisestamp/content/prefs.js"/>
<script type="application/x-javascript" src="chrome://wisestamp/content/utils.js"/>
<script type="application/x-javascript" src="chrome://wisestamp/content/comm.js"/>
<script type="application/x-javascript" src="chrome://wisestamp/content/options.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/appspecific.js"/>
<script type="application/x-javascript" src="chrome://wisestamp/content/signatureFactory.js"/>
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/joint.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/WiseStampSprintf.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/request.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.item.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.filter.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/post.formatter.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/feed.wrapper.js" />
<script type="application/x-javascript" src="chrome://wisestamp/content/rss/xmlrpc.js" />
</prefwindow>